﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000675 RID: 1653
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetChallengeScRsp : IMessage<GetChallengeScRsp>, IMessage, IEquatable<GetChallengeScRsp>, IDeepCloneable<GetChallengeScRsp>, IBufferMessage
	{
		// Token: 0x17001564 RID: 5476
		// (get) Token: 0x06004AAB RID: 19115 RVA: 0x000CD5AB File Offset: 0x000CB7AB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetChallengeScRsp> Parser
		{
			get
			{
				return GetChallengeScRsp._parser;
			}
		}

		// Token: 0x17001565 RID: 5477
		// (get) Token: 0x06004AAC RID: 19116 RVA: 0x000CD5B2 File Offset: 0x000CB7B2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetChallengeScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001566 RID: 5478
		// (get) Token: 0x06004AAD RID: 19117 RVA: 0x000CD5C4 File Offset: 0x000CB7C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetChallengeScRsp.Descriptor;
			}
		}

		// Token: 0x06004AAE RID: 19118 RVA: 0x000CD5CB File Offset: 0x000CB7CB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetChallengeScRsp()
		{
		}

		// Token: 0x06004AAF RID: 19119 RVA: 0x000CD5F4 File Offset: 0x000CB7F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetChallengeScRsp(GetChallengeScRsp other) : this()
		{
			this.jPJAMBNGBGD_ = other.jPJAMBNGBGD_.Clone();
			this.retcode_ = other.retcode_;
			this.aHCJHHLIHCL_ = other.aHCJHHLIHCL_;
			this.challengeGroupList_ = other.challengeGroupList_.Clone();
			this.challengeList_ = other.challengeList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06004AB0 RID: 19120 RVA: 0x000CD663 File Offset: 0x000CB863
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetChallengeScRsp Clone()
		{
			return new GetChallengeScRsp(this);
		}

		// Token: 0x17001567 RID: 5479
		// (get) Token: 0x06004AB1 RID: 19121 RVA: 0x000CD66B File Offset: 0x000CB86B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<MKPONJCPPDI> JPJAMBNGBGD
		{
			get
			{
				return this.jPJAMBNGBGD_;
			}
		}

		// Token: 0x17001568 RID: 5480
		// (get) Token: 0x06004AB2 RID: 19122 RVA: 0x000CD673 File Offset: 0x000CB873
		// (set) Token: 0x06004AB3 RID: 19123 RVA: 0x000CD67B File Offset: 0x000CB87B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17001569 RID: 5481
		// (get) Token: 0x06004AB4 RID: 19124 RVA: 0x000CD684 File Offset: 0x000CB884
		// (set) Token: 0x06004AB5 RID: 19125 RVA: 0x000CD68C File Offset: 0x000CB88C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint AHCJHHLIHCL
		{
			get
			{
				return this.aHCJHHLIHCL_;
			}
			set
			{
				this.aHCJHHLIHCL_ = value;
			}
		}

		// Token: 0x1700156A RID: 5482
		// (get) Token: 0x06004AB6 RID: 19126 RVA: 0x000CD695 File Offset: 0x000CB895
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<ChallengeGroup> ChallengeGroupList
		{
			get
			{
				return this.challengeGroupList_;
			}
		}

		// Token: 0x1700156B RID: 5483
		// (get) Token: 0x06004AB7 RID: 19127 RVA: 0x000CD69D File Offset: 0x000CB89D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<Challenge> ChallengeList
		{
			get
			{
				return this.challengeList_;
			}
		}

		// Token: 0x06004AB8 RID: 19128 RVA: 0x000CD6A5 File Offset: 0x000CB8A5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetChallengeScRsp);
		}

		// Token: 0x06004AB9 RID: 19129 RVA: 0x000CD6B4 File Offset: 0x000CB8B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetChallengeScRsp other)
		{
			return other != null && (other == this || (this.jPJAMBNGBGD_.Equals(other.jPJAMBNGBGD_) && this.Retcode == other.Retcode && this.AHCJHHLIHCL == other.AHCJHHLIHCL && this.challengeGroupList_.Equals(other.challengeGroupList_) && this.challengeList_.Equals(other.challengeList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06004ABA RID: 19130 RVA: 0x000CD73C File Offset: 0x000CB93C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.jPJAMBNGBGD_.GetHashCode();
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.AHCJHHLIHCL != 0U)
			{
				num ^= this.AHCJHHLIHCL.GetHashCode();
			}
			num ^= this.challengeGroupList_.GetHashCode();
			num ^= this.challengeList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06004ABB RID: 19131 RVA: 0x000CD7BE File Offset: 0x000CB9BE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06004ABC RID: 19132 RVA: 0x000CD7C6 File Offset: 0x000CB9C6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06004ABD RID: 19133 RVA: 0x000CD7D0 File Offset: 0x000CB9D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.AHCJHHLIHCL != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.AHCJHHLIHCL);
			}
			this.challengeGroupList_.WriteTo(ref output, GetChallengeScRsp._repeated_challengeGroupList_codec);
			this.challengeList_.WriteTo(ref output, GetChallengeScRsp._repeated_challengeList_codec);
			this.jPJAMBNGBGD_.WriteTo(ref output, GetChallengeScRsp._repeated_jPJAMBNGBGD_codec);
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06004ABE RID: 19134 RVA: 0x000CD85C File Offset: 0x000CBA5C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.jPJAMBNGBGD_.CalculateSize(GetChallengeScRsp._repeated_jPJAMBNGBGD_codec);
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.AHCJHHLIHCL != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.AHCJHHLIHCL);
			}
			num += this.challengeGroupList_.CalculateSize(GetChallengeScRsp._repeated_challengeGroupList_codec);
			num += this.challengeList_.CalculateSize(GetChallengeScRsp._repeated_challengeList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06004ABF RID: 19135 RVA: 0x000CD8EC File Offset: 0x000CBAEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetChallengeScRsp other)
		{
			if (other == null)
			{
				return;
			}
			this.jPJAMBNGBGD_.Add(other.jPJAMBNGBGD_);
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.AHCJHHLIHCL != 0U)
			{
				this.AHCJHHLIHCL = other.AHCJHHLIHCL;
			}
			this.challengeGroupList_.Add(other.challengeGroupList_);
			this.challengeList_.Add(other.challengeList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06004AC0 RID: 19136 RVA: 0x000CD96F File Offset: 0x000CBB6F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06004AC1 RID: 19137 RVA: 0x000CD978 File Offset: 0x000CBB78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 58U)
				{
					if (num == 24U)
					{
						this.AHCJHHLIHCL = input.ReadUInt32();
						continue;
					}
					if (num == 58U)
					{
						this.challengeGroupList_.AddEntriesFrom(ref input, GetChallengeScRsp._repeated_challengeGroupList_codec);
						continue;
					}
				}
				else
				{
					if (num == 66U)
					{
						this.challengeList_.AddEntriesFrom(ref input, GetChallengeScRsp._repeated_challengeList_codec);
						continue;
					}
					if (num == 82U)
					{
						this.jPJAMBNGBGD_.AddEntriesFrom(ref input, GetChallengeScRsp._repeated_jPJAMBNGBGD_codec);
						continue;
					}
					if (num == 120U)
					{
						this.Retcode = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04001DA9 RID: 7593
		private static readonly MessageParser<GetChallengeScRsp> _parser = new MessageParser<GetChallengeScRsp>(() => new GetChallengeScRsp());

		// Token: 0x04001DAA RID: 7594
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001DAB RID: 7595
		public const int JPJAMBNGBGDFieldNumber = 10;

		// Token: 0x04001DAC RID: 7596
		private static readonly FieldCodec<MKPONJCPPDI> _repeated_jPJAMBNGBGD_codec = FieldCodec.ForMessage<MKPONJCPPDI>(82U, MKPONJCPPDI.Parser);

		// Token: 0x04001DAD RID: 7597
		private readonly RepeatedField<MKPONJCPPDI> jPJAMBNGBGD_ = new RepeatedField<MKPONJCPPDI>();

		// Token: 0x04001DAE RID: 7598
		public const int RetcodeFieldNumber = 15;

		// Token: 0x04001DAF RID: 7599
		private uint retcode_;

		// Token: 0x04001DB0 RID: 7600
		public const int AHCJHHLIHCLFieldNumber = 3;

		// Token: 0x04001DB1 RID: 7601
		private uint aHCJHHLIHCL_;

		// Token: 0x04001DB2 RID: 7602
		public const int ChallengeGroupListFieldNumber = 7;

		// Token: 0x04001DB3 RID: 7603
		private static readonly FieldCodec<ChallengeGroup> _repeated_challengeGroupList_codec = FieldCodec.ForMessage<ChallengeGroup>(58U, ChallengeGroup.Parser);

		// Token: 0x04001DB4 RID: 7604
		private readonly RepeatedField<ChallengeGroup> challengeGroupList_ = new RepeatedField<ChallengeGroup>();

		// Token: 0x04001DB5 RID: 7605
		public const int ChallengeListFieldNumber = 8;

		// Token: 0x04001DB6 RID: 7606
		private static readonly FieldCodec<Challenge> _repeated_challengeList_codec = FieldCodec.ForMessage<Challenge>(66U, Challenge.Parser);

		// Token: 0x04001DB7 RID: 7607
		private readonly RepeatedField<Challenge> challengeList_ = new RepeatedField<Challenge>();
	}
}
